package com.sasis.model;
// Generated 2007-3-28 12:11:51 by Hibernate Tools 3.1.0.beta4

import java.sql.Date;


/**
 * @struts.form include-all="true" extends="BaseForm"
 * @hibernate.class
 *         table="HIGH_REQUEST"
 *     
 */

public class HighRequest extends com.sasis.model.BaseObject implements java.io.Serializable {


    // Fields    

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
    private String planeNo;
    private Date flyDate;
    protected String flyDate1;
    private String oriArea;
    private String distArea;
    private Integer vipInfoId;
    private String vipName;
    private String vipMap;
    private String vipSex;
    private Integer vipType;
    private String partnerCode;
    private String pnrCode;
    private String otherMan;
    private String contactType;
    private String love;
    private String planeAsk;
    private Integer checkStatus;
    private String checkItem;
    private String recMan;
    private String sendMan;
    private String serverMan;
    private String restRoom;
    private String memo;
    private String fromArea;
    private String toArea;

    private String isAuto;
    private String isStart;
    private String vipTypeName;
    private Long userId;
    private String userName;
    private Date createDate;
    
    // Constructors

	public String getIsAuto() {
		return isAuto;
	}


	public void setIsAuto(String isAuto) {
		this.isAuto = isAuto;
	}


	public String getIsStart() {
		return isStart;
	}


	public void setIsStart(String isStart) {
		this.isStart = isStart;
	}


	public String getVipTypeName() {
		return vipTypeName;
	}


	public void setVipTypeName(String vipTypeName) {
		this.vipTypeName = vipTypeName;
	}


	public String getFromArea() {
		return this.fromArea;
	}


	public void setFromArea(String fromArea) {
		this.fromArea = fromArea;
	}


	public String getToArea() {
		return this.toArea;
	}


	public void setToArea(String toArea) {
		this.toArea = toArea;
	}


	/** default constructor */
    public HighRequest() {
    }

    
    /** full constructor */
    public HighRequest(String planeNo, Date flyDate, String oriArea, String distArea, Integer vipInfoId, String vipName, String vipMap, String vipSex, Integer vipType, String partnerCode, String pnrCode, String otherMan, String contactType, String love, String planeAsk, Integer checkStatus, String checkItem, String recMan, String sendMan, String serverMan, String restRoom, String memo, String oArea, String dArea) {
        this.planeNo = planeNo;
        this.flyDate = flyDate;
        this.oriArea = oriArea;
        this.distArea = distArea;
        this.vipInfoId = vipInfoId;
        this.vipName = vipName;
        this.vipMap = vipMap;
        this.vipSex = vipSex;
        this.vipType = vipType;
        this.partnerCode = partnerCode;
        this.pnrCode = pnrCode;
        this.otherMan = otherMan;
        this.contactType = contactType;
        this.love = love;
        this.planeAsk = planeAsk;
        this.checkStatus = checkStatus;
        this.checkItem = checkItem;
        this.recMan = recMan;
        this.sendMan = sendMan;
        this.serverMan = serverMan;
        this.restRoom = restRoom;
        this.memo = memo;
    }
    

   
    // Property accessors
    /**       
     *      *            @hibernate.id
     *             generator-class="native"
     *             type="java.lang.Integer"
     *             column="ID"
     *         
     */

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
    /**       
     *      *            @hibernate.property
     *             column="PLANE_NO"
     *             length="8"
     *         
     */

    public String getPlaneNo() {
        return this.planeNo;
    }
    
    public void setPlaneNo(String planeNo) {
        this.planeNo = planeNo;
    }
    /**       
     *      *            @hibernate.property
     *             column="FLY_DATE"
     *             length="7"
     *         
     */

    public Date getFlyDate() {
        return this.flyDate;
    }
    
    public void setFlyDate(Date flyDate) {
        this.flyDate = flyDate;
    }


    /**       
     *      *            @hibernate.property
     *             column="VIP_INFO_ID"
     *             length="22"
     *         
     */

    public Integer getVipInfoId() {
        return this.vipInfoId;
    }
    
    public void setVipInfoId(Integer vipInfoId) {
        this.vipInfoId = vipInfoId;
    }
    /**       
     *      *            @hibernate.property
     *             column="VIP_NAME"
     *             length="100"
     *         
     */

    public String getVipName() {
        return this.vipName;
    }
    
    public void setVipName(String vipName) {
        this.vipName = vipName;
    }
    /**       
     *      *            @hibernate.property
     *             column="VIP_MAP"
     *             length="30"
     *         
     */

    public String getVipMap() {
        return this.vipMap;
    }
    
    public void setVipMap(String vipMap) {
        this.vipMap = vipMap;
    }
    /**       
     *      *            @hibernate.property
     *             column="VIP_SEX"
     *             length="5"
     *         
     */

    public String getVipSex() {
        return this.vipSex;
    }
    
    public void setVipSex(String vipSex) {
        this.vipSex = vipSex;
    }
    /**       
     *      *            @hibernate.property
     *             column="VIP_TYPE"
     *             length="26"
     *         
     */

    public Integer getVipType() {
        return this.vipType;
    }
    
    public void setVipType(Integer vipType) {
        this.vipType = vipType;
    }
    /**       
     *      *            @hibernate.property
     *             column="PARTNER_CODE"
     *             length="5"
     *         
     */

    public String getPartnerCode() {
        return this.partnerCode;
    }
    
    public void setPartnerCode(String partnerCode) {
        this.partnerCode = partnerCode;
    }
    /**       
     *      *            @hibernate.property
     *             column="PNR_CODE"
     *             length="30"
     *         
     */

    public String getPnrCode() {
        return this.pnrCode;
    }
    
    public void setPnrCode(String pnrCode) {
        this.pnrCode = pnrCode;
    }
    /**       
     *      *            @hibernate.property
     *             column="OTHER_MAN"
     *             length="30"
     *         
     */

    public String getOtherMan() {
        return this.otherMan;
    }
    
    public void setOtherMan(String otherMan) {
        this.otherMan = otherMan;
    }
    /**       
     *      *            @hibernate.property
     *             column="CONTACT_TYPE"
     *             length="30"
     *         
     */

    public String getContactType() {
        return this.contactType;
    }
    
    public void setContactType(String contactType) {
        this.contactType = contactType;
    }
    /**       
     *      *            @hibernate.property
     *             column="LOVE"
     *             length="200"
     *         
     */

    public String getLove() {
        return this.love;
    }
    
    public void setLove(String love) {
        this.love = love;
    }
    /**       
     *      *            @hibernate.property
     *             column="PLANE_ASK"
     *             length="200"
     *         
     */

    public String getPlaneAsk() {
        return this.planeAsk;
    }
    
    public void setPlaneAsk(String planeAsk) {
        this.planeAsk = planeAsk;
    }
    /**       
     *      *            @hibernate.property
     *             column="CHECK_STATUS"
     *             length="22"
     *         
     */

    public Integer getCheckStatus() {
        return this.checkStatus;
    }
    
    public void setCheckStatus(Integer checkStatus) {
        this.checkStatus = checkStatus;
    }
    /**       
     *      *            @hibernate.property
     *             column="CHECK_ITEM"
     *             length="200"
     *         
     */

    public String getCheckItem() {
        return this.checkItem;
    }
    
    public void setCheckItem(String checkItem) {
        this.checkItem = checkItem;
    }
    /**       
     *      *            @hibernate.property
     *             column="REC_MAN"
     *             length="30"
     *         
     */

    public String getRecMan() {
        return this.recMan;
    }
    
    public void setRecMan(String recMan) {
        this.recMan = recMan;
    }
    /**       
     *      *            @hibernate.property
     *             column="SEND_MAN"
     *             length="30"
     *         
     */

    public String getSendMan() {
        return this.sendMan;
    }
    
    public void setSendMan(String sendMan) {
        this.sendMan = sendMan;
    }
    /**       
     *      *            @hibernate.property
     *             column="SERVER_MAN"
     *             length="30"
     *         
     */

    public String getServerMan() {
        return this.serverMan;
    }
    
    public void setServerMan(String serverMan) {
        this.serverMan = serverMan;
    }
    /**       
     *      *            @hibernate.property
     *             column="REST_ROOM"
     *             length="30"
     *         
     */

    public String getRestRoom() {
        return this.restRoom;
    }
    
    public void setRestRoom(String restRoom) {
        this.restRoom = restRoom;
    }
    /**       
     *      *            @hibernate.property
     *             column="MEMO"
     *             length="200"
     *         
     */

    public String getMemo() {
        return this.memo;
    }
    
    public void setMemo(String memo) {
        this.memo = memo;
    }
   

    /**
     * toString
     * @return String
     */
     public String toString() {
	  StringBuffer buffer = new StringBuffer();

      buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");
      buffer.append("planeNo").append("='").append(getPlaneNo()).append("' ");			
      buffer.append("flyDate").append("='").append(getFlyDate()).append("' ");			
      buffer.append("oriArea").append("='").append(getOriArea()).append("' ");			
      buffer.append("distArea").append("='").append(getDistArea()).append("' ");			
      buffer.append("vipInfoId").append("='").append(getVipInfoId()).append("' ");			
      buffer.append("vipName").append("='").append(getVipName()).append("' ");			
      buffer.append("vipMap").append("='").append(getVipMap()).append("' ");			
      buffer.append("vipSex").append("='").append(getVipSex()).append("' ");			
      buffer.append("vipType").append("='").append(getVipType()).append("' ");			
      buffer.append("partnerCode").append("='").append(getPartnerCode()).append("' ");			
      buffer.append("pnrCode").append("='").append(getPnrCode()).append("' ");			
      buffer.append("otherMan").append("='").append(getOtherMan()).append("' ");			
      buffer.append("contactType").append("='").append(getContactType()).append("' ");			
      buffer.append("love").append("='").append(getLove()).append("' ");			
      buffer.append("planeAsk").append("='").append(getPlaneAsk()).append("' ");			
      buffer.append("checkStatus").append("='").append(getCheckStatus()).append("' ");			
      buffer.append("checkItem").append("='").append(getCheckItem()).append("' ");			
      buffer.append("recMan").append("='").append(getRecMan()).append("' ");			
      buffer.append("sendMan").append("='").append(getSendMan()).append("' ");			
      buffer.append("serverMan").append("='").append(getServerMan()).append("' ");			
      buffer.append("restRoom").append("='").append(getRestRoom()).append("' ");			
      buffer.append("memo").append("='").append(getMemo()).append("' ");			
      buffer.append("]");
      
      return buffer.toString();
     }


   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof HighRequest) ) return false;
		 HighRequest castOther = ( HighRequest ) other; 
         
		 return ( (this.getId()==castOther.getId()) || ( this.getId()!=null && castOther.getId()!=null && this.getId().equals(castOther.getId()) ) )
 && ( (this.getPlaneNo()==castOther.getPlaneNo()) || ( this.getPlaneNo()!=null && castOther.getPlaneNo()!=null && this.getPlaneNo().equals(castOther.getPlaneNo()) ) )
 && ( (this.getFlyDate()==castOther.getFlyDate()) || ( this.getFlyDate()!=null && castOther.getFlyDate()!=null && this.getFlyDate().equals(castOther.getFlyDate()) ) )
 && ( (this.getOriArea()==castOther.getOriArea()) || ( this.getOriArea()!=null && castOther.getOriArea()!=null && this.getOriArea().equals(castOther.getOriArea()) ) )
 && ( (this.getDistArea()==castOther.getDistArea()) || ( this.getDistArea()!=null && castOther.getDistArea()!=null && this.getDistArea().equals(castOther.getDistArea()) ) )
 && ( (this.getVipInfoId()==castOther.getVipInfoId()) || ( this.getVipInfoId()!=null && castOther.getVipInfoId()!=null && this.getVipInfoId().equals(castOther.getVipInfoId()) ) )
 && ( (this.getVipName()==castOther.getVipName()) || ( this.getVipName()!=null && castOther.getVipName()!=null && this.getVipName().equals(castOther.getVipName()) ) )
 && ( (this.getVipMap()==castOther.getVipMap()) || ( this.getVipMap()!=null && castOther.getVipMap()!=null && this.getVipMap().equals(castOther.getVipMap()) ) )
 && ( (this.getVipSex()==castOther.getVipSex()) || ( this.getVipSex()!=null && castOther.getVipSex()!=null && this.getVipSex().equals(castOther.getVipSex()) ) )
 && ( (this.getVipType()==castOther.getVipType()) || ( this.getVipType()!=null && castOther.getVipType()!=null && this.getVipType().equals(castOther.getVipType()) ) )
 && ( (this.getPartnerCode()==castOther.getPartnerCode()) || ( this.getPartnerCode()!=null && castOther.getPartnerCode()!=null && this.getPartnerCode().equals(castOther.getPartnerCode()) ) )
 && ( (this.getPnrCode()==castOther.getPnrCode()) || ( this.getPnrCode()!=null && castOther.getPnrCode()!=null && this.getPnrCode().equals(castOther.getPnrCode()) ) )
 && ( (this.getOtherMan()==castOther.getOtherMan()) || ( this.getOtherMan()!=null && castOther.getOtherMan()!=null && this.getOtherMan().equals(castOther.getOtherMan()) ) )
 && ( (this.getContactType()==castOther.getContactType()) || ( this.getContactType()!=null && castOther.getContactType()!=null && this.getContactType().equals(castOther.getContactType()) ) )
 && ( (this.getLove()==castOther.getLove()) || ( this.getLove()!=null && castOther.getLove()!=null && this.getLove().equals(castOther.getLove()) ) )
 && ( (this.getPlaneAsk()==castOther.getPlaneAsk()) || ( this.getPlaneAsk()!=null && castOther.getPlaneAsk()!=null && this.getPlaneAsk().equals(castOther.getPlaneAsk()) ) )
 && ( (this.getCheckStatus()==castOther.getCheckStatus()) || ( this.getCheckStatus()!=null && castOther.getCheckStatus()!=null && this.getCheckStatus().equals(castOther.getCheckStatus()) ) )
 && ( (this.getCheckItem()==castOther.getCheckItem()) || ( this.getCheckItem()!=null && castOther.getCheckItem()!=null && this.getCheckItem().equals(castOther.getCheckItem()) ) )
 && ( (this.getRecMan()==castOther.getRecMan()) || ( this.getRecMan()!=null && castOther.getRecMan()!=null && this.getRecMan().equals(castOther.getRecMan()) ) )
 && ( (this.getSendMan()==castOther.getSendMan()) || ( this.getSendMan()!=null && castOther.getSendMan()!=null && this.getSendMan().equals(castOther.getSendMan()) ) )
 && ( (this.getServerMan()==castOther.getServerMan()) || ( this.getServerMan()!=null && castOther.getServerMan()!=null && this.getServerMan().equals(castOther.getServerMan()) ) )
 && ( (this.getRestRoom()==castOther.getRestRoom()) || ( this.getRestRoom()!=null && castOther.getRestRoom()!=null && this.getRestRoom().equals(castOther.getRestRoom()) ) )
 && ( (this.getMemo()==castOther.getMemo()) || ( this.getMemo()!=null && castOther.getMemo()!=null && this.getMemo().equals(castOther.getMemo()) ) );
   }
   
   public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getId() == null ? 0 : this.getId().hashCode() );
         result = 37 * result + ( getPlaneNo() == null ? 0 : this.getPlaneNo().hashCode() );
         result = 37 * result + ( getFlyDate() == null ? 0 : this.getFlyDate().hashCode() );
         result = 37 * result + ( getOriArea() == null ? 0 : this.getOriArea().hashCode() );
         result = 37 * result + ( getDistArea() == null ? 0 : this.getDistArea().hashCode() );
         result = 37 * result + ( getVipInfoId() == null ? 0 : this.getVipInfoId().hashCode() );
         result = 37 * result + ( getVipName() == null ? 0 : this.getVipName().hashCode() );
         result = 37 * result + ( getVipMap() == null ? 0 : this.getVipMap().hashCode() );
         result = 37 * result + ( getVipSex() == null ? 0 : this.getVipSex().hashCode() );
         result = 37 * result + ( getVipType() == null ? 0 : this.getVipType().hashCode() );
         result = 37 * result + ( getPartnerCode() == null ? 0 : this.getPartnerCode().hashCode() );
         result = 37 * result + ( getPnrCode() == null ? 0 : this.getPnrCode().hashCode() );
         result = 37 * result + ( getOtherMan() == null ? 0 : this.getOtherMan().hashCode() );
         result = 37 * result + ( getContactType() == null ? 0 : this.getContactType().hashCode() );
         result = 37 * result + ( getLove() == null ? 0 : this.getLove().hashCode() );
         result = 37 * result + ( getPlaneAsk() == null ? 0 : this.getPlaneAsk().hashCode() );
         result = 37 * result + ( getCheckStatus() == null ? 0 : this.getCheckStatus().hashCode() );
         result = 37 * result + ( getCheckItem() == null ? 0 : this.getCheckItem().hashCode() );
         result = 37 * result + ( getRecMan() == null ? 0 : this.getRecMan().hashCode() );
         result = 37 * result + ( getSendMan() == null ? 0 : this.getSendMan().hashCode() );
         result = 37 * result + ( getServerMan() == null ? 0 : this.getServerMan().hashCode() );
         result = 37 * result + ( getRestRoom() == null ? 0 : this.getRestRoom().hashCode() );
         result = 37 * result + ( getMemo() == null ? 0 : this.getMemo().hashCode() );
         return result;
   }
   public String getOriArea() {
       return this.oriArea;
   }
   
   public void setOriArea(String oriArea) {
       this.oriArea = oriArea;
   }
   
   public String getDistArea() {
       return this.distArea;
   }
   
   public void setDistArea(String distArea) {
       this.distArea = distArea;
   }


public Date getCreateDate() {
	return createDate;
}


public void setCreateDate(Date createDate) {
	this.createDate = createDate;
}


public Long getUserId() {
	return userId;
}


public void setUserId(Long userId) {
	this.userId = userId;
}


public String getUserName() {
	return userName;
}


public void setUserName(String userName) {
	this.userName = userName;
}

}
